package com.neu.af.dataFilter.service;

import com.neu.af.dataFilter.entity.User;
import com.neu.af.dataFilter.entity.UserExample;

import java.util.List;
import java.util.Map;

public interface LoginService {
    int insert(User record);
    int deleteByPrimaryKey(Integer id);
    int updateByPrimaryKey(User example);
    int countByExample(UserExample example);
    Map<String, Object> selectByName(String name, int number, int page);
    List<User> selectByNamePassword(String name,String password);
    User getLoginInfo(String name, String password);
}
